// 全局变量
$primary-color: #EB3C43;
$background-color: #f6f6f8;
$card-background: #ffffff;
$text-primary: #333333;
$text-secondary: #8c91a5;
$text-light: #999999;
$border-color: #f5f5f5;
$border-radius-lg: 16rpx;
$border-radius-md: 10rpx;
$border-radius-sm: 8rpx;
$spacing-xs: 8rpx;
$spacing-sm: 16rpx;
$spacing-md: 24rpx;
$spacing-lg: 32rpx;

// 通用样式
.page {
  min-height: 100vh;
  background-color: $background-color;
  padding-bottom: 40rpx;
}

// 辅助类
.ml-3 { margin-left: 6rpx; }
.ml-5 { margin-left: 10rpx; }
.mt-9 { margin-top: 18rpx; }
.mx-4 { margin-left: 8rpx; margin-right: 8rpx; }
.my-2 { margin-top: 4rpx; margin-bottom: 4rpx; }
.my-4 { margin-top: 8rpx; margin-bottom: 8rpx; }
.mt-4 { margin-top: 8rpx; }
.px-4 { padding-left: 8rpx; padding-right: 8rpx; }
.px-8 { padding-left: 16rpx; padding-right: 16rpx; }
.py-4 { padding-top: 8rpx; padding-bottom: 8rpx; }

// 头部个人信息卡片
.section {
  background-color: $card-background;
  border-radius: $border-radius-sm $border-radius-sm 0 0;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  
  .group {
    padding: $spacing-lg $spacing-sm $spacing-md $spacing-lg;
    
    .section_4 {
      width: 120rpx;
      height: 120rpx;
      border-radius: 60rpx;
      border: 2rpx solid #f0f0f0;
      box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      
      &:active {
        transform: scale(0.98);
      }
    }
    
    .group_4 {
      margin-left: $spacing-lg;
      
      .text_3 {
        color: $text-primary;
        font-weight: 600;
        font-size: 36rpx;
        line-height: 1.2;
      }
      
      .text_4 {
        color: $text-secondary;
        font-size: 28rpx;
        line-height: 1.5;
        margin-top: 8rpx;
      }
    }
    
    .font_2 {
      font-size: 36rpx;
      font-family: PingFang SC, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
      line-height: 1.2;
    }
    
    .font_3 {
      font-size: 28rpx;
      color: $text-secondary;
      line-height: 1.5;
    }
    
    .image_6 {
      width: 32rpx;
      height: 32rpx;
      margin-left: 8rpx;
    }
  }
}

// 认证状态标签
.certification-status {
  background-color: #FFF5F5;
  margin: $spacing-md $spacing-lg;
  border-radius: $border-radius-md;
  padding: $spacing-sm;
  
  .status-item {
    background-color: rgba($primary-color, 0.1);
    padding: 8rpx 16rpx;
    border-radius: 30rpx;
  }
  
  .status-text {
    color: $primary-color;
    font-size: 24rpx;
    font-weight: 500;
  }
}

// 数据统计区域
.equal-division {
  position: relative;
  padding: $spacing-sm 0 $spacing-md;
  border-bottom: 1rpx solid $border-color;
  
  .equal-division-item {
    padding: $spacing-xs 0;
    width: 20%;
    transition: all 0.2s ease;
    
    &:active {
      opacity: 0.7;
    }
    
    .font {
      font-size: 32rpx;
      font-weight: 600;
      color: $text-primary;
      line-height: 1.5;
    }
    
    .text_10 {
      font-size: 22rpx;
      color: $text-secondary;
      line-height: 1.2;
      margin-top: 4rpx;
    }
    
    .font_6 {
      font-size: 22rpx;
      color: $text-secondary;
      line-height: 1.2;
    }
  }
}

// VIP卡片
.vip-card {
  background: linear-gradient(135deg, #FFEFBA 0%, #FFFFFF 100%);
  border-radius: $border-radius-lg;
  margin: $spacing-md $spacing-md;
  padding: $spacing-md $spacing-lg;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  
  &:active {
    transform: translateY(2rpx);
    box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.05);
  }
  
  .vip-icon {
    width: 48rpx;
    height: 48rpx;
  }
  
  .vip-text {
    font-size: 28rpx;
    color: #B8860B;
    font-weight: 500;
  }
  
  .arrow-icon {
    width: 32rpx;
    height: 32rpx;
    opacity: 0.6;
  }
}

// 红娘服务卡片
.matchmaker-service {
  background-color: #FFF5F5;
  border-radius: $border-radius-lg;
  margin: $spacing-sm $spacing-md $spacing-md;
  padding: $spacing-md $spacing-lg;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
  
  .service-text {
    font-size: 28rpx;
    color: $text-primary;
  }
  
  .service-name {
    font-size: 28rpx;
    color: $primary-color;
    font-weight: 500;
  }
  
  .service-phone {
    font-size: 28rpx;
    color: $primary-color;
    font-weight: 500;
  }
}

// 功能列表
.function-list {
  background-color: $card-background;
  border-radius: $border-radius-lg;
  margin: 0 $spacing-md;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
  overflow: hidden;
  
  .function-item {
    padding: $spacing-md $spacing-lg;
    border-bottom: 1rpx solid $border-color;
    transition: background-color 0.2s ease;
    
    &:last-child {
      border-bottom: none;
    }
    
    &:active {
      background-color: #f9f9f9;
    }
    
    .function-icon {
      width: 44rpx;
      height: 44rpx;
      margin-right: $spacing-sm;
    }
    
    .function-text {
      font-size: 30rpx;
      color: $text-primary;
      font-weight: 500;
    }
    
    .function-desc {
      font-size: 26rpx;
      color: $text-light;
      margin-right: $spacing-xs;
    }
    
    .arrow-icon {
      width: 32rpx;
      height: 32rpx;
      opacity: 0.6;
    }
  }
}
